package cn.yitun.chat.yitunservercommonlib.dataentity.po.userchat;


import cn.yitun.chat.yitunservercommonlib.crud.yitun.BaseInfo;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 用户最后聊天信息表
 * 
 * @author chenyitun
 * @email chenyitun@163.com
 * @date 2020-05-27 14:45:10
 */
@Data
@NoArgsConstructor
public class LastChatInfo extends BaseInfo<LastChatInfo> {

    //聊天id
	private Long chatId;
    //内容id
	private Long contentId;
    //信息id
	private Long messageId;
    //类型
	private String type;
    //用户id
	private Long userId;

    public static String TYPE_USER = "1";//联系人
    public static String TYPE_GROUP = "2";//群
    public static String TYPE_TEAM = "3";//讨论组
    public static String TYPE_ROOM = "4";//聊天室
}
